<?php
/*
*  -------------------------------------------------
*   @file		: .php
*   @link		:CPC  www.chinapet.com
*   @copyright	: 2002-2012 Xingmo Inc
*   @author		: Laipiyang <462166282@qq.com>
*   @blog_url   : http://www.icuir.com/
*   @blog_url   : http://blog.sina.com.cn/xmphp
*   @date		:
*   @update		:
*  -------------------------------------------------
*/
include_once './include/init.inc.php';

include_once './include/cpc_qplus.cls.php';
include_once './include/model.cls.php';
$model = new model_sql();
if(empty($s)){
	$s = 'medal';
}
$k=isset($_GET['k']) ? intval($_GET['k']) : '';


$sql="SELECT * FROM `info_q_usual_sort` WHERE `type`='1' AND `is_enable`='1' LIMIT 3 ";
$sort=$db->fetch_all($sql);
 $smarty->assign('sort_list',		$sort);

fheader('medal/'.$s.'_style.css');
$smarty->display('medal/'.$s.'.dwt');
ffooter();

?>